﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using Microsoft.Xna.Framework;

namespace Pavilion.DesignerTool
{
    public class EnvironmentToolViewModel
    {
        public ObservableCollection<LineVector> LineCollection { get; set; }

        public EnvironmentToolViewModel()
        {
            LineCollection = new ObservableCollection<LineVector>();

            LineCollection.Add(new LineVector(new Vector2(2, 2), new Vector2(100, 200)));
            LineCollection.Add(new LineVector(new Vector2(30, 77), new Vector2(150, 230)));
        }

        public struct LineVector
        {
            public Vector2 Start;
            public Vector2 End;

            public LineVector(Vector2 start, Vector2 end)
            {
                this.Start = start;
                this.End = end;
            }
        }
    }
}
